import DPopover from "./data-popover";
import DDrag from "./data-drag";
const components = [
  {
    name: DPopover.name,
    component: DPopover
  },
  {
    name: DDrag.name,
    component: DDrag
  }
];

const install = vm => {
  components.forEach(({ name, component }) => {
    vm.component(name, component);
  });
};

export default {
  components,
  install
};
